Skip to content

fix: store CLAUDE.md as regular file, not symlink#7

Merged
Berkay2002 merged 1 commit intomainfrom
fix/claude-md-symlink-mode
Apr 17, 2026
Merged

fix: store CLAUDE.md as regular file, not symlink#7
Berkay2002 merged 1 commit intomainfrom
fix/claude-md-symlink-mode

Conversation

@Berkay2002
Copy link
Copy Markdown
Owner

Summary

  • Blocks the release pipeline on macOS/Windows.
  • The blob at CLAUDE.md had git mode 120000 (symlink) but its actual content was a 2873-byte markdown file. Linux checkouts succeeded (symlink targets up to PATH_MAX), but macOS/Windows checkouts failed with error: unable to create symlink CLAUDE.md: File name too long because the target exceeds per-component name limits.
  • Re-stage as 100644 so every platform sees a regular file. Blob SHA is unchanged (9bd81e4b), so the working-tree content is identical.

Test plan

  • git ls-files --stage CLAUDE.md shows mode 100644
  • Release workflow checkout step succeeds on Windows and macOS runners (verified by re-tagging v0.0.0-test.5 after merge)

Failure reference: run 24541444393 — Linux succeeded, macOS arm64 / macOS x64 / Windows x64 all failed at checkout with File name too long.

The blob mode was 120000 (symlink) but its content was a 2873-byte
markdown file. Linux checkouts succeeded (symlink targets up to
PATH_MAX), but macOS/Windows checkouts failed with 'File name too
long' because the target exceeds individual name-component limits.

Fix: re-stage as 100644 so every platform sees a regular file.
Copilot AI review requested due to automatic review settings April 17, 2026 00:43
@github-actions github-actions Bot added size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 17, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes cross-platform git checkout failures by ensuring CLAUDE.md is stored as a regular file (not a symlink), preventing macOS/Windows “File name too long” errors during CI checkout.

Changes:

  • Re-stages CLAUDE.md from symlink mode (120000) to regular file mode (100644) while keeping the blob/content unchanged.
  • Unblocks release/CI checkout steps on macOS and Windows runners.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Berkay2002 Berkay2002 merged commit ba0f233 into main Apr 17, 2026
10 of 11 checks passed
@Berkay2002 Berkay2002 deleted the fix/claude-md-symlink-mode branch April 17, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants